# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=xsct
pkgver=2.3
pkgrel=0
pkgdesc="set the color temperature of xorg screen"
url="https://github.com/faf0/sct/"
arch="all"
license="Unlicense"
makedepends="libx11-dev libxrandr-dev"
subpackages="$pkgname-doc"
options="!check" #  no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/faf0/sct/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/"sct-$pkgver

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
8bedce06d53c00967b61d0254dc755a7b71f00a28800cecc3a34694a8b424374b843acc5eaebbc525c6771ce93dfd42585ae8723e70a73728d98de8b2dfc70f9  xsct-2.3.tar.gz
"
